package com.smarthome.domain.enums;
/**
 * 
* @ClassName: AdviceStatusEnum
* @Description: 公告状态枚举
* @author cyj
* @date 2015年9月22日 下午7:38:41
*
 */
public enum AdviceStatusEnum {
	
	NOTPUBLISHED(0,"未发布"),PUBLISHED(1,"发布");
	
	private int code;
	
	private String name;

	private AdviceStatusEnum(int code, String name) {
		this.code = code;
		this.name = name;
	}

	public int getCode() {
		return code;
	}

	public String getName() {
		return name;
	}
}
